package com.chapter4.duotai.demo2;

public class Knight extends Unit{

    public Knight() {
        //调用父类构造方法
        super(150,15);
    }

    //重写父类方法
    public void move(){
        System.out.println("Knight move");
    }
}
